package edu.cornell.cs4740.wsd;

import java.util.HashMap;
import java.util.Map;

public class DictionaryEntry {
	Map<Integer, String> senseMap;
	Word word;
	
	public DictionaryEntry(Word word) {
		senseMap = new HashMap<Integer, String>();
		this.word = word;
	}
	
	public void addSense(Integer senseNumber, String definition) {
		senseMap.put(senseNumber, definition);
	}
	
	public String getSenseDefinition(Integer senseNumber) {
		return senseMap.get(senseNumber);
	}
	
	
}